package com.desksoft.ecommerce.vo.mall;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.desksoft.ecommerce.base.Entity;
import com.desksoft.ecommerce.entity.mall.dto.DemandCardExtend;


/***************************************
 * <pre>
 * 版权所有：杭州迪科软件 保留所有权利
 * 创建日期: 2012-5-5
 * 创建作者：rq
 * 文件名称：ProductsInfo.java
 * 版本：1.0
 * 功能：
 * 最后修改时间：2012-5-5
 * 修改记录：
 * </pre>
 *****************************************/
public class ProductsInfo extends DemandCardExtend {


	/**
	 * 
	 */
	private static final long serialVersionUID = -4324367441810824889L;

	/**
	 * 
	 */
	public static final String PRICE = "price";

	private String itemCode;// 商品编码
	private String itemName;// 商品名称
	private String fatherCode;// 父类别
	private String standard;// 商品规格
	private BigDecimal minDistQty;// 最小起订量
	private BigDecimal price;// 价格
	private BigDecimal dayprice; // 每日特价
	private Integer commentQ;//
	private String categoryD;//
	private String categoryZ;
	private String category;
	private String itemStatus;
	private String webOnTag;
	private BigDecimal baseNum;
	private BigDecimal freeNum;
	private Long avgtsaleqty;// 30天销量
	private String oddDistTag;
	private String distUnit;
	private BigDecimal distPack;// 包装数量
	private String unit;
	private String storecode;
	private BigDecimal stockQty;// 库存
	private String priceType;// 价格类型
	private String rePriceType;// 渠道价格类型
	private String clientCode;// 客户编码
	private String favorite;// 关注信息
	private BigDecimal maxPurQty;// 最大购买量
	private BigDecimal tradePrice3;// 库存紧张
	private String itemType;
	private BigDecimal stockNum;// 可配数
	private String brand;
	private BigDecimal tradePrice;// 市场指导价
	private String barCode;
	private String oldItemCode;// 厂家码
	private String productArea;// 商品产地
	private String comments;// 促销语
	private Float grade;// 商品评分
	private String gradeImg;// 星级评分图片
	private String imageNames;// 图片
	private String integral;// 积分奖励
	private String monthsales;// 本月销量
	private String cumulativesales;// 累计销量
	private String keywords;// 关键词
	private String itembrief; // 简介
	private String title;//
	private String keyword;
	private String description;
	private String cornerMark;// 特殊标识
	private String markType;// 标签类型
	private String markName;// 标签名称
	private String picShowType;// '0'-列表缩略图 '1'-自定义海报图
	private String storeName;
	private String vendorCode;
	private String assembleB2B; //B2B列表页所需字段 
	private Date webondate;
	public Date getWebondate() {
		return webondate;
	}

	public void setWebondate(Date webondate) {
		this.webondate = webondate;
	}

	private List<MallImagesVO> imageList; //图片路径
	
	/**
	 * 电商商品信息管理后台新增字段
	 */
	private BigDecimal fixedPrice;// 市场价
	private String feature;// 卖点
	private String hits;// 访问统计
	
	private String rChar3; //子商品属性
	private String rChar4; //子商品属性
    private String isReserve;//是否预定
	public String getIsReserve() {
		return isReserve;
	}

	public void setIsReserve(String isReserve) {
		this.isReserve = isReserve;
	}

	private List<ProductsInfo> subProduct = new ArrayList<ProductsInfo>();


	public String getAssembleB2B() {
		return assembleB2B;
	}

	public void setAssembleB2B(String assembleB2B) {
		this.assembleB2B = assembleB2B;
	}

	public BigDecimal getDayprice() {
		return dayprice;
	}

	public void setDayprice(BigDecimal dayprice) {
		this.dayprice = dayprice;
	}


	public BigDecimal getFixedPrice() {
		return fixedPrice;
	}

	public void setFixedPrice(BigDecimal fixedPrice) {
		this.fixedPrice = fixedPrice;
	}

	public String getFeature() {
		return feature;
	}

	public void setFeature(String feature) {
		this.feature = feature;
	}

	public String getHits() {
		return hits;
	}

	public void setHits(String hits) {
		this.hits = hits;
	}

	public String getPicShowType() {
		return picShowType;
	}

	public void setPicShowType(String picShowType) {
		this.picShowType = picShowType;
	}

	public String getGradeImg() {
		return gradeImg;
	}

	public void setGradeImg(String gradeImg) {
		this.gradeImg = gradeImg;
	}

	public String getMarkType() {
		return markType;
	}

	public void setMarkType(String markType) {
		this.markType = markType;
	}

	public String getMarkName() {
		return markName;
	}

	public void setMarkName(String markName) {
		this.markName = markName;
	}

	public Integer getCommentQ() {
		return commentQ;
	}

	public void setCommentQ(Integer commentQ) {
		this.commentQ = commentQ;
	}

	public String getCornerMark() {
		return cornerMark;
	}

	public void setCornerMark(String cornerMark) {
		this.cornerMark = cornerMark;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getKeywords() {
		return keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public String getItembrief() {
		return itembrief;
	}

	public void setItembrief(String itembrief) {
		this.itembrief = itembrief;
	}

	public String getIntegral() {
		return integral;
	}

	public void setIntegral(String integral) {
		this.integral = integral;
	}

	public String getMonthsales() {
		return monthsales;
	}

	public void setMonthsales(String monthsales) {
		this.monthsales = monthsales;
	}

	public String getCumulativesales() {
		return cumulativesales;
	}

	public void setCumulativesales(String cumulativesales) {
		this.cumulativesales = cumulativesales;
	}

	public String getImageNames() {
		return imageNames;
	}

	public void setImageNames(String imageNames) {
		this.imageNames = imageNames;
	}

	public String getOldItemCode() {
		return oldItemCode;
	}

	public void setOldItemCode(String oldItemCode) {
		this.oldItemCode = oldItemCode;
	}

	public String getProductArea() {
		return productArea;
	}

	public void setProductArea(String productArea) {
		this.productArea = productArea;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public Float getGrade() {
		return grade;
	}

	public void setGrade(Float grade) {
		this.grade = grade;
	}

	public ProductsInfo() {
	}

	public ProductsInfo(String itemcode) {
		this.itemCode = itemcode;
	}

	public String getBarCode() {
		return barCode;
	}

	public void setBarCode(String barCode) {
		this.barCode = barCode;
	}

	public BigDecimal getTradePrice() {
		return tradePrice == null ? new BigDecimal(0) : tradePrice;
	}

	public void setTradePrice(BigDecimal tradePrice) {
		this.tradePrice = tradePrice;
	}

	public List<ProductsInfo> getSubProduct() {
		return subProduct;
	}

	public void setSubProduct(List<ProductsInfo> subProduct) {
		this.subProduct = subProduct;
	}

	public String getBrand() {
		return brand == null ? "" : brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getItemType() {
		return itemType == null ? "" : itemType;
	}

	public void setItemType(String itemType) {
		this.itemType = itemType;
	}

	public String getItemCode() {
		return itemCode == null ? "" : itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	public String getItemName() {
		return itemName == null ? "" : itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getFatherCode() {
		return fatherCode == null ? "" : fatherCode;
	}

	public void setFatherCode(String fatherCode) {
		this.fatherCode = fatherCode;
	}

	public String getStandard() {
		return standard == null ? "" : standard;
	}

	public void setStandard(String standard) {
		this.standard = standard;
	}

	public BigDecimal getPrice() {
		return price == null ? new BigDecimal(0) : price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getClientCode() {
		return clientCode == null ? "" : clientCode;
	}

	public void setClientCode(String clientCode) {
		this.clientCode = clientCode;
	}

	public String getPriceType() {
		return priceType == null ? "" : priceType;
	}

	public void setPriceType(String priceType) {
		this.priceType = priceType;
	}

	public String getRePriceType() {
		return rePriceType == null ? "" : rePriceType;
	}

	public void setRePriceType(String rePriceType) {
		this.rePriceType = rePriceType;
	}

	public String getFavorite() {
		return favorite == null ? "" : favorite;
	}

	public void setFavorite(String favorite) {
		this.favorite = favorite;
	}

	public String getCategoryD() {
		return categoryD == null ? "" : categoryD;
	}

	public void setCategoryD(String categoryD) {
		this.categoryD = categoryD;
	}

	public String getCategoryZ() {
		return categoryZ == null ? "" : categoryZ;
	}

	public void setCategoryZ(String categoryZ) {
		this.categoryZ = categoryZ;
	}

	public String getCategory() {
		return category == null ? "" : category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getItemStatus() {
		return itemStatus == null ? "" : itemStatus;
	}

	public void setItemStatus(String itemStatus) {
		this.itemStatus = itemStatus;
	}

	public String getWebOnTag() {
		return webOnTag == null ? "" : webOnTag;
	}

	public void setWebOnTag(String webOnTag) {
		this.webOnTag = webOnTag;
	}

	public String getOddDistTag() {
		return oddDistTag == null ? "" : oddDistTag;
	}

	public void setOddDistTag(String oddDistTag) {
		this.oddDistTag = oddDistTag;
	}

	public BigDecimal getMinDistQty() {
		return minDistQty == null ? new BigDecimal(0) : minDistQty;
	}

	public void setMinDistQty(BigDecimal minDistQty) {
		this.minDistQty = minDistQty;
	}

	public BigDecimal getBaseNum() {
		return baseNum == null ? new BigDecimal(0) : baseNum;
	}

	public void setBaseNum(BigDecimal baseNum) {
		this.baseNum = baseNum;
	}

	public BigDecimal getFreeNum() {
		return freeNum == null ? new BigDecimal(0) : freeNum;
	}

	public void setFreeNum(BigDecimal freeNum) {
		this.freeNum = freeNum;
	}

	public BigDecimal getDistPack() {
		return distPack == null ? new BigDecimal(0) : distPack;
	}

	public void setDistPack(BigDecimal distPack) {
		this.distPack = distPack;
	}

	public BigDecimal getStockQty() {
		return stockQty == null ? new BigDecimal(0) : stockQty;
	}

	public void setStockQty(BigDecimal stockQty) {
		this.stockQty = stockQty;
	}

	public BigDecimal getMaxPurQty() {
		return maxPurQty == null ? new BigDecimal(0) : maxPurQty;
	}

	public void setMaxPurQty(BigDecimal maxPurQty) {
		this.maxPurQty = maxPurQty;
	}

	public BigDecimal getTradePrice3() {
		return tradePrice3 == null ? new BigDecimal(0) : tradePrice3;
	}

	public void setTradePrice3(BigDecimal tradePrice3) {
		this.tradePrice3 = tradePrice3;
	}

	public BigDecimal getStockNum() {
		return stockNum == null ? new BigDecimal(0) : stockNum;
	}

	public void setStockNum(BigDecimal stockNum) {
		this.stockNum = stockNum;
	}

	public String getDistUnit() {
		return distUnit == null ? "" : distUnit;
	}

	public void setDistUnit(String distUnit) {
		this.distUnit = distUnit;
	}

	public String getUnit() {
		return unit == null ? "" : unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getStorecode() {
		return storecode;
	}

	public void setStorecode(String storecode) {
		this.storecode = storecode;
	}

	public Long getAvgtsaleqty() {
		return avgtsaleqty;
	}

	public void setAvgtsaleqty(Long avgtsaleqty) {
		this.avgtsaleqty = avgtsaleqty;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getVendorCode() {
		return vendorCode;
	}

	public void setVendorCode(String vendorCode) {
		this.vendorCode = vendorCode;
	}

	public void setrChar4(String rChar4) {
		this.rChar4 = rChar4;
	}

	public String getrChar4() {
		return rChar4;
	}

	public void setrChar3(String rChar3) {
		this.rChar3 = rChar3;
	}

	public String getrChar3() {
		return rChar3;
	}

	public void setImageList(List<MallImagesVO> imageList) {
		this.imageList = imageList;
	}

	public List<MallImagesVO> getImageList() {
		return imageList;
	}
}
